To obtain; to get, especially by chance or involuntarily.
A loyal friend is hard to come by. Somehow he came by a substantial fortune.
To come near to; to pass; to visit.
Your beau came by while you were shopping.
A command to a sheepdog to move clockwise around the sheep